<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" min="0" data-source="user/user/index" data-field="nickname" class="form-control selectpage" disabled name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['teaching_method']!==$row['teaching_method']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Teaching_method')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Teaching_method')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-teaching_method" data-rule="required" class="form-control" disabled name="row[teaching_method]" type="text" value="{$row.teaching_method|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['settled_type_free']!==$row['settled_type_free']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Settled_type_free')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Settled_type_free')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-settled_type_free" data-rule="required" class="form-control" disabled name="row[settled_type_free]" type="text" value="{$row.settled_type_free|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['settled_type']!==$row['settled_type']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Settled_type')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Settled_type')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-settled_type" data-rule="required" class="form-control" disabled name="row[settled_type]" type="text" value="{$row.settled_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['nickname']!==$row['nickname']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Nickname')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" data-rule="required" class="form-control" disabled name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['mobile']!==$row['mobile']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Mobile')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" disabled name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['wx_phone']!==$row['wx_phone']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Wx_phone')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_phone')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_phone" data-rule="required" class="form-control" disabled name="row[wx_phone]" type="text" value="{$row.wx_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['realname']!==$row['realname']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Realname')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-realname" data-rule="required" class="form-control" disabled name="row[realname]" type="text" value="{$row.realname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['id_code']!==$row['id_code']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Id_code')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_code')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_code" data-rule="required" class="form-control" disabled name="row[id_code]" type="text" value="{$row.id_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['sex']!==$row['sex']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Sex')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-sex" data-rule="required" class="form-control" disabled name="row[sex]" type="text" value="{$row.sex|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['id_card_front']!==$row['id_card_front']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Id_card_front')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_front')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <image src="{$row.id_card_front|htmlentities}" style="width: 300px;"></image>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['id_card_reverse']!==$row['id_card_reverse']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Id_card_reverse')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_reverse')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <image src="{$row.id_card_reverse|htmlentities}" style="width: 300px;"></image>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['school_image']!==$row['school_image']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('School_image')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('School_image')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <image src="{$row.school_image|htmlentities}" style="width: 300px;"></image>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['school_image_hand']!==$row['school_image_hand']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('School_image_hand')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('School_image_hand')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <image src="{$row.school_image_hand|htmlentities}" style="width: 300px;"></image>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['school_name']!==$row['school_name']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('School_name')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('School_name')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-school_name" data-rule="required" class="form-control" disabled name="row[school_name]" type="text" value="{$row.school_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['learn_start']!==$row['learn_start']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Learn_start')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Learn_start')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-learn_start" data-rule="required" class="form-control" disabled name="row[learn_start]" type="text" value="{$row.learn_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['learn_end']!==$row['learn_end']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Learn_end')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Learn_end')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-learn_end" data-rule="required" class="form-control" disabled name="row[learn_end]" type="text" value="{$row.learn_end|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['education']!==$row['education']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Education')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Education')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-education" data-rule="required" class="form-control" disabled name="row[education]" type="text" value="{$row.education|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['profession']!==$row['profession']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Profession')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Profession')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-profession" data-rule="required" class="form-control" disabled name="row[profession]" type="text" value="{$row.profession|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['grade']!==$row['grade']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Grade')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Grade')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-grade" data-rule="required" class="form-control" disabled name="row[grade]" type="text" value="{$row.grade|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['give_lessons']!==$row['give_lessons']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Give_lessons')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Give_lessons')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            {$row.give_lessons_str}
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['give_timesec']!==$row['give_timesec']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Give_timesec')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Give_timesec')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-give_timesec" data-rule="required" class="form-control" name="row[give_timesec]" type="text" value="{$row.give_timesec|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['give_time']!==$row['give_time']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Give_time')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Give_time')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            {$row.give_time_str}
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['holiday_area']!==$row['holiday_area']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Holiday_area')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Holiday_area')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.holiday_pick|htmlentities}
                {$row.holiday_area|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['holiday_areas']!==$row['holiday_areas']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Holiday_area')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Holiday_area')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.holiday_areas|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['unholiday_area']!==$row['unholiday_area']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Unholiday_area')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Unholiday_area')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.unholiday_pick|htmlentities}
                {$row.unholiday_area|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['unholiday_areas']!==$row['unholiday_areas']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Unholiday_area')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Unholiday_area')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.unholiday_areas|htmlentities}
            </div>
        </div>
    </div>
    <div class="form-group">
        {if condition="$before && $before['photo_images']!==$row['photo_images']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Photo_images')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Photo_images')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-photo_images" class="form-control" size="50" name="row[photo_images]" type="text" value="{$row.photo_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-photo_images" class="btn btn-danger faupload" data-input-id="c-photo_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-photo_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-photo_images" class="btn btn-primary fachoose" data-input-id="c-photo_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-photo_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-photo_images"></ul>
        </div>
    </div>

    {notempty name="$row.avatar"}
    <div class="form-group">
        {if condition="$before && $before['avatar']!==$row['avatar']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Avatar')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-avatar" data-rule="required" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.teacher_age"}
    <div class="form-group">
        {if condition="$before && $before['teacher_age']!==$row['teacher_age']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Teacher_age')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Teacher_age')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-teacher_age" data-rule="required" class="form-control" name="row[teacher_age]" type="number" value="{$row.teacher_age|htmlentities}">
        </div>
    </div>
    {/notempty}

    {notempty name="$row.tags"}
    <div class="form-group">
        {if condition="$before && $before['tags']!==$row['tags']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Tags')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Tags')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.tags}
            </div>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.main_image"}
    <div class="form-group">
        {if condition="$before && $before['main_image']!==$row['main_image']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Main_image')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Main_image')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-main_image" class="form-control" size="50" name="row[main_image]" type="text" value="{$row.main_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-main_image" class="btn btn-danger faupload" data-input-id="c-main_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-main_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-main_image" class="btn btn-primary fachoose" data-input-id="c-main_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-main_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-main_image"></ul>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.cert_name"}
    <div class="form-group">
        {if condition="$before && $before['cert_name']!==$row['cert_name']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Cert_name')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_name')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {$row.cert_name|htmlentities}
            </div>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.cert_image"}
    <div class="form-group">
        {if condition="$before && $before['cert_image']!==$row['cert_image']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Cert_image')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_image')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cert_image" class="form-control" size="50" name="row[cert_image]" type="text" value="{$row.cert_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-cert_image" class="btn btn-danger faupload" data-input-id="c-cert_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-cert_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cert_image" class="btn btn-primary fachoose" data-input-id="c-cert_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cert_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-cert_image"></ul>
        </div>
    </div>
    {/notempty}

    {if condition="count($row.teacher_exp_text)>0"}
    <div class="form-group">
        {if condition="$before && $before['teacher_exp']!==$row['teacher_exp']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Teacher_exp')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Teacher_exp')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            {volist name='$row.teacher_exp_text' id='vo'}
            <div class="view-control">
                <p>时间：{$vo.start}~{$vo.end}</p>
                <p>内容：{$vo.content}</p>
            </div>
            {/volist}
        </div>
    </div>
    {/if}

    {notempty name="$row.case_name"}
    <div class="form-group">
        {if condition="$before && ($before['case_name']!==$row['case_name'] || $before['case_content']!==$row['case_content'])"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('成功案例')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('成功案例')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                标题：{$row.case_name|htmlentities}
            </div>
            <div class="view-control">
                内容：{$row.case_content|htmlentities}
            </div>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.honor_images"}
    <div class="form-group">
        {if condition="$before && $before['honor_images']!==$row['honor_images']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Honor_images')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Honor_images')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-honor_images" class="form-control" size="50" name="row[honor_images]" type="text" value="{$row.honor_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-honor_images" class="btn btn-danger faupload" data-input-id="c-honor_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-honor_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-honor_images" class="btn btn-primary fachoose" data-input-id="c-honor_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-honor_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-honor_images"></ul>
        </div>
    </div>
    {/notempty}

    {notempty name="$row.person_video"}
    <div class="form-group">
        {if condition="$before && $before['person_video']!==$row['person_video']"}
        <label class="control-label col-xs-12 col-sm-2" style="color: red;">{:__('Person_video')}:</label>
        {else/}
        <label class="control-label col-xs-12 col-sm-2">{:__('Person_video')}:</label>
        {/if}
        <div class="col-xs-12 col-sm-8">
            <input id="c-person_video" class="form-control" name="row[person_video]" type="text" value="{$row.person_video|htmlentities}">
        </div>
    </div>
    {/notempty}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_fill')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {if condition='$row.is_fill==1'}是{else/}否{/if}
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">当前状态</label>
        <div class="col-xs-12 col-sm-8">
            <div class="view-control">
                {:__('Status '.$row['status'])}
            </div>
        </div>
    </div>

    {if condition='$may_recommend'}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">调整为优选名师:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[recommend]', ['0'=>__('否'), '1'=>__('是')], $row['recommend'])}
        </div>
    </div>
    {/if}

    {if condition='$row.status == 1'}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['2'=>__('审核通过'), '3'=>__('驳回')], $row['status'])}
        </div>
    </div>

    <div class="form-group">
        <label for="refund_reson" class="control-label col-xs-12 col-sm-2">驳回原因</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control" placeholder="若驳回请填写驳回原因" id="refund_reson" name="row[refund_reson]">{$row.refund_reson|htmlentities}</textarea>
        </div>
    </div>
    {/if}

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            {if condition='$row.status == 1'}
            <button type="submit" class="btn btn-primary btn-embossed disabled">确定</button>
            {/if}
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
<style>
    .view-control{
        padding-top: 8px;
    }
</style>